xen/arm: gic: Correctly check if an IRQ is valid in gic_interrupt
authorJulien Grall <julien.grall@linaro.org>
Tue, 3 Mar 2015 16:36:16 +0000 (16:36 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 5 Mar 2015 17:06:42 +0000 (17:06 +0000)
commit3508bd4d7648501cbfb879585341e6a80f71581c
tree44fd1b026fa3506edb5465125a83aa46293d450f
parent386627b10ec2cef2f1deca06236046b7d5c9abe3
xen/arm: gic: Correctly check if an IRQ is valid in gic_interrupt

The IRQ 1020 is reserved for special purpose, so the check should be
"irq < 1020" rather than "irq < 1021".

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/gic.c